package cn.lx.demo;

/**
 * @author lixin
 * @Classname Client
 * @Description 工厂客户端
 * @Date 2019/10/4 上午10:37
 */
public class Client {
    public static void main(String[] args) {
        Creator creator = new ConcreteCreator();
        Product product = creator.createProduct(ConcreteProduct1.class);
        product.method1();
        product.method2();
        /**开始剩下的表演*/
    }
}
